{//校区查看上门信息情况模板}
<include file="Public:header" />
<load file="__ROOT__/js/datepick/jquery.datepick.css" />
<load file="__ROOT__/js/datepick/jquery.datepick.js" />
<load file="__ROOT__/js/datepick/jquery.datepick-zh-CN.js" />
<script type="text/javascript">
    $(function(){
        $(document).ready(function(){
            $('[name=rs_come_time]').datepick({dateFormat: 'yy_mm_dd'});
        });
        $('#save').click(function(){
                $("form:first").submit();
        });
    });
</script>
<div style="margin-left: 10px;">
<b>编辑热线情况信息：</b>
<table width="400" border="1" cellpadding="0" cellspacing="0" style="border-collapse:collapse" bordercolor="#000000">
    <form name="save" action="{:U('ppts/qt_save_edit_rexianshangmen')}" method="POST">
        <tr>
            <td width="30%" align="right">来访日期：</td>
            <td width="70%"><div style="margin-left: 10px;">
                    <input type="text" size="15" value="<php>
                           echo str_replace('-', '_',$rs_come_time);
                           </php>" name="rs_come_time" readonly style="cursor: pointer;" />
                    <input type="hidden" name="rs_id" value="{$rs_id}" />
                    </div></td>
        </tr>
        <tr>
            <td width="30%" align="right">了解渠道：</td>
            <td width="70%"><div style="margin-left: 10px;">
                    <select name="rs_qudao">
                        <option value="短信"<php>if($rs_qudao=='短信') echo ' selected="selected"';</php>>短信</option>
                        <option value="路过"<php>if($rs_qudao=='路过') echo ' selected="selected"';</php>>路过</option>
                        <option value="宣传单"<php>if($rs_qudao=='宣传单') echo ' selected="selected"';</php>>宣传单</option>
                        <option value="辽沈晚报"<php>if($rs_qudao=='辽沈晚报') echo ' selected="selected"';</php>>辽沈晚报</option>
                        <option value="华商晨报"<php>if($rs_qudao=='华商晨报') echo ' selected="selected"';</php>>华商晨报</option>
                        <option value="沈阳晚报"<php>if($rs_qudao=='沈阳晚报') echo ' selected="selected"';</php>>沈阳晚报</option>
                        <option value="亲友介绍"<php>if($rs_qudao=='亲友介绍') echo ' selected="selected"';</php>>亲友介绍</option>
                        <option value="户外广告"<php>if($rs_qudao=='户外广告') echo ' selected="selected"';</php>>户外广告</option>
                        <option value="网络"<php>if($rs_qudao=='网络') echo ' selected="selected"';</php>>网络</option>
                        <option value="地推"<php>if($rs_qudao=='地推') echo ' selected="selected"';</php>>地推</option>
                    <option value="不详"<php>if($rs_qudao=='不详') echo ' selected="selected"';</php>>不详</option>
                    </select>
                    </div></td>
        </tr>
        <tr>
            <td width="30%" align="right">学校：</td>
            <td width="70%"><div style="margin-left: 10px;"><input type="text" size="15" value="{$rs_stu_school}" name="rs_stu_school" /></div></td>
        </tr>
        <tr>
            <td width="30%" align="right">年级：</td>
            <td width="70%"><div style="margin-left: 10px;">
                    <select name="rs_stu_year">
                <option value="小学一年级"<php>if($rs_stu_year=='小学一年级') echo ' selected="selected"';</php>>小学一年级</option>
            <option value="小学二年级"<php>if($rs_stu_year=='小学二年级') echo ' selected="selected"';</php>>小学二年级</option>
            <option value="小学三年级"<php>if($rs_stu_year=='小学三年级') echo ' selected="selected"';</php>>小学三年级</option>
            <option value="小学四年级"<php>if($rs_stu_year=='小学四年级') echo ' selected="selected"';</php>>小学四年级</option>
            <option value="小学五年级"<php>if($rs_stu_year=='小学五年级') echo ' selected="selected"';</php>>小学五年级</option>
            <option value="小学六年级"<php>if($rs_stu_year=='小学六年级') echo ' selected="selected"';</php>>小学六年级</option>
            <option value="初中一年级"<php>if($rs_stu_year=='初中一年级') echo ' selected="selected"';</php>>初中一年级</option>
            <option value="初中二年级"<php>if($rs_stu_year=='初中二年级') echo ' selected="selected"';</php>>初中二年级</option>
            <option value="初中三年级"<php>if($rs_stu_year=='初中三年级') echo ' selected="selected"';</php>>初中三年级</option>
            <option value="高中一年级"<php>if($rs_stu_year=='高中一年级') echo ' selected="selected"';</php>>高中一年级</option>
            <option value="高中二年级"<php>if($rs_stu_year=='高中二年级') echo ' selected="selected"';</php>>高中二年级</option>
            <option value="高中三年级"<php>if($rs_stu_year=='高中三年级') echo ' selected="selected"';</php>>高中三年级</option>
                    <option value="不详"<php>if($rs_stu_year=='不详') echo ' selected="selected"';</php>>不详</option>
                    </select>
                </div></td>
        </tr>
        <tr>
            <td width="30%" align="right">咨询师：</td>
            <td width="70%"><div style="margin-left: 10px;">
                <select name="zss_user_id">
                        <foreach name="zs_list" item="vo">
                        <option value="{$vo.user_id}"<php>if($zss_user_id==$vo['user_id']) echo ' selected="selected"';</php>>{$vo.user_zsname}</option>
                        </foreach>
                    </select>
                </div></td>
        </tr>
        <tr>
            <td width="30%" align="right">家长姓名：</td>
            <td width="70%"><div style="margin-left: 10px;"><input type="text" size="15" value="{$rs_stu_jiazhang}" name="rs_stu_jiazhang" /></div></td>
        </tr>
        <tr>
            <td width="30%" align="right">联系方式：</td>
            <td width="70%"><div style="margin-left: 10px;"><input type="text" size="15" value="{$rs_tel}" name="rs_tel" /></div></td>
        </tr>
        <tr>
            <td width="30%" align="right">学生姓名：</td>
            <td width="70%"><div style="margin-left: 10px;"><input type="text" size="15" value="{$rs_stu_name}" name="rs_stu_name" /></div></td>
        </tr>
        <tr>
            <td width="30%" align="right">学科：</td>
            <td width="70%"><div style="margin-left: 10px;"><input type="text" size="15" value="{$rs_xueke}" name="rs_xueke" /></div></td>
        </tr>
        <tr>
            <td width="30%" align="right">备注：</td>
            <td width="70%"><div style="margin-left: 10px;"><textarea cols="30" rows="4" name="rs_beizhu">{$rs_beizhu}</textarea></div></td>
        </tr>
        <tr>
            <td width="100%" align="center" colspan="2"><input type="button" value="保存修改" id="save" name="save"/>&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="button" value="取消修改" name="change" onclick="self.parent.tb_remove();" /></td>
           
        </tr>
    </form>
</table>
</div>
<include file="Public:ender" />
